package com.klhappy.houyuan.utils;

import java.util.Map;

import com.android.volley.AuthFailureError;
import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.android.volley.toolbox.StringRequest;

public class AdvanceStringRequest extends StringRequest {

	private Map<String, String> mMap = null;

	public AdvanceStringRequest(int method, String url, Map<String, String> map,
			 Listener<String> listener, ErrorListener errorListener) {
		super(method, url, listener, errorListener);
		mMap = map;
	}

	@Override
	protected Map<String, String> getParams() throws AuthFailureError {
		return mMap;
	}

}
